package com.sgzn.sgpay.model.request;

import com.sgzn.sgpay.model.request.dto.DiscountRuleDto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 商户消费优惠规则服务更新请求类
 * @author huangsenguang
 * @version Id: SgsMerchantDiscountRuleUpdateRequest.java, v 0.1 2018/6/3 16:25 huangsenguang Exp $$
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class SgsMerchantDiscountRuleUpdateRequest extends SgsMerchantBaseRequest {
    /**
     * 优惠规则
     */
    @NotNull(message = "ruleList不允许为空")
    private List<DiscountRuleDto> ruleList;
}

